<?php if (count($models)):?>
<ul>
    <?php foreach ($models as $model):?>
    <li><?php echo CHtml::link($model->name, array('/Cms/admin/widget/updateInstance', 'id'=>$model->widget_id, 'instanceId'=>$model->id, 'layout'=>''), array('target'=>'_parent'));?></li>
    <?php endforeach;?>
</ul>
<?php else:?>
<p>Not have any instance</p>
<?php endif;?>